how to edit the link in a href with jquery

99

jquery set href of link -

$('.element').attr('href', newUrl);

how to edit the link in a href with jquery -

$("a").attr("href", "http://www.google.com/")

Comments

Submit
0 Comments